//
//  DetailTableViewCell.m
//  Doctor1.0
//
//  Created by mk on 15/7/7.
//  Copyright (c) 2015年 cocoa-mk. All rights reserved.
//

#import "DetailTableViewCell.h"
#import "UIImageView+WebCache.h"
@implementation DetailTableViewCell

- (void)awakeFromNib
{
    // Initialization code
    myImage.layer.cornerRadius = myImage.frame.size.width / 2 ;
    myImage.clipsToBounds = YES;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(void)fillDataWith:(MembersInfo *)member
{
    [myImage sd_setImageWithURL:member.mem_imageUrl placeholderImage:loadDoctorImageDefaule];
    
    name.text =  [NSString stringWithFormat:@"%@",member.mem_name];//医生名字
    hospName.text = [NSString stringWithFormat:@"%@",member.mem_hpName];//医院
    mTitle.text = [NSString stringWithFormat:@"%@|%@",member.mem_mTitle,member.mem_aTitle];//科室
}



@end






